﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace kinect8.Toolkit
{
    public class GestureEventArgs : EventArgs
    {
        public GestureEventArgs(string name)
            : this(name, 1.0, "", 0.0)
        {

        }

        public GestureEventArgs(string name, double per, string state, double value)
        {
            Name = name;
            Percentage = per;
            State = state;
            Value = value;
        }
        /// <summary>
        /// Gets or sets the gesture name.
        /// </summary>
        /// <value>
        /// The name.
        /// </value>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the gesture percentage 0 - 1 .
        /// </summary>
        /// <value>
        /// The percentage.
        /// </value>
        public double Percentage { get; set; }

        /// <summary>
        /// Gets or sets the gesture state .
        /// </summary>
        /// <value>
        /// The state.
        /// </value>
        public string State { get; set; }

        /// <summary>
        /// Gets or sets the gesture value .
        /// </summary>
        /// <value>
        /// The value.
        /// </value>
        public double Value { get; set; }
    }
}
